package com.csun.cmny.provider.controller.message;

import com.github.pagehelper.PageInfo;
import lombok.Data;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-10-11 21:56
 * @Description:
 */
@Data
public class ToDoVo<E> implements Cloneable {

    private String code;

    private String name;

    private String url;

    private Integer size;

    private PageInfo<E> data;

    //重写Object类的clone方法
    public Object clone() {
        Object obj = null;
        // 调用Object类的clone方法，返回一个Object实例
        try {
            obj= super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return obj;
    }

}
